import Layout from '@/module-dashboard/pages/layout'

const _import = require('@/router/import_' + process.env.NODE_ENV)
export default [
  {
    //父路径
    path: '/saas-clients',
    component: Layout,
    redirect: 'noredirect',
    name: 'saas-clients',
    meta: {
      title: 'SaaS企业管理',
      icon: 'international'
    },
    root: true,
    children: [
      {
        // 请求地址，/saas-clients/index
        path: 'index',
        name: 'saas-clients-index',
        component: _import('saas-clients/pages/index'),
        meta: {title: 'SaaS企业', icon: 'international', noCache: true}
      },
      {
        // 请求地址，/saas-clients/index
        path: 'details/:id',
        name: 'saas-clients-details',
        component: _import('saas-clients/pages/details'),
        meta: {title: 'SaaS企业详情', icon: 'international', noCache: true}
      }
    ]
  }
]
